<?php 
namespace App\Http\Controllers\User;

use App\Http\Controllers\Controller;
use App\Model\Article;
use Session;

class IndexController extends Controller
{
	public function __construct()
    	{
		$this->middleware('loadnav');
	}

	public function Index()
	{
		return view('user.Index', ['list' => Article::Get_list_page()]);
	}
}